#include "Channel.h"

#include <sys/epoll.h>

const int Channel::kNoneEvent = 0;
const int Channel::kReadEvent = EPOLLIN;
const int Channel::kWriteEvent = EPOLLOUT;

// EventLoop: ChannelList Poller
Channel::Channel(int& fd)
    : m_fd(fd)
{
    disableAll();
}

Channel::~Channel()
{
}


